Skip to content

Conversation

@Copper280z
Copy link
Owner

No description provided.

Candas1 and others added 30 commits February 7, 2024 16:45
…ounter

Use interrupt if no repetition counter
Add missing implementation for MagneticSensorI2C::AS5600
Set STM32 timer prescaler based on timer clock frequency
Move Ualpha and Ubeta to FOCMotor
askuric and others added 30 commits August 21, 2025 11:06
It will ensure that all the ADC processing triggered by the MCPWM
ISR can run if the ESP32 cache is disabled, preventing the application
to crash.

Signed-off-by: Felipe Neves <[email protected]>
* By moving fast functions to the IRAM
* Replacing divisions by reciprocal multiplication to avoid CPU to issue a DIV.F instruction.

Signed-off-by: Felipe Neves <[email protected]>
ESP32: improve PWM driver fast funcrtions
Move the mcpwm on_full callback entry point to the IRAM.
* It will improve the execution speed.
* It will prevent crashes if the chip disables the ICACHE

Signed-off-by: Felipe Neves <[email protected]>
ESP32: move adc runtime reading functions to IRAM.
ESP32C3 fix ledc_channel_config(847): sleep_mode argument invalid
of the ADC buffer with a branch based option to avoid
the compiler to use a MOD instruction that consumes several cycles.

Signed-off-by: Felipe Neves <[email protected]>
To happen after the ADC reading to avoid shifting the
order of the samples.

Signed-off-by: Felipe Neves <[email protected]>
ESP32: replaced the mod base circular increment
g431-esc: use internal ADC channels, also fix some typos
fix minor magnetic_sensor_i2c warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.